home *** CD-ROM | disk | FTP | other *** search
- <?xml version='1.0' encoding='EUC-KR' ?>
- <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
- <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
- <!-- English Revision: 1.5.2.7 -->
-
- <!--
- Copyright 2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <manualpage metafile="public_html.xml.meta">
- <parentdocument href="./">How-To / Tutorials</parentdocument>
-
- <title>╗τ┐δ└┌║░ └Ñ╡≡╖║┼Σ╕«</title>
-
- <summary>
- <p>┐⌐╖» ╗τ┐δ└┌░í └╓┤┬ ╜├╜║┼█┐í╝¡ <directive
- module="mod_userdir">UserDir</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧╕Θ
- ░ó ╗τ┐δ└┌┤┬ └┌╜┼└╟ ╚¿╡≡╖║┼Σ╕« ╛╚┐í └Ñ╗τ└╠╞«╕ª ╕╕╡Θ ╝÷ └╓┤┘.
- URL <code>http://example.com/~username/</code>┐í ┴ó▒┘╟╧╕Θ
- ╗τ┐δ└┌ "<code>username</code>"└╟ ╚¿╡≡╖║┼Σ╕«┐í╝¡ <directive
- module="mod_userdir">UserDir</directive> ┴÷╜├╛ε╖╬ ┴÷┴ñ╟╤
- ╟╧└º╡≡╖║┼Σ╕«┐í └╓┤┬ ╞Σ└╠┴÷╕ª ░í┴«┐└░╘ ╡╚┤┘.</p>
-
- </summary>
-
- <seealso><a href="../urlmapping.html">URL└╗ ╞─└╧╜├╜║┼█┐í ┤δ└└</a></seealso>
-
- <section id="related">
- <title>╗τ┐δ└┌║░ └Ñ╡≡╖║┼Σ╕«</title>
- <related>
- <modulelist>
- <module>mod_userdir</module>
- </modulelist>
- <directivelist>
- <directive module="mod_userdir">UserDir</directive>
- <directive module="core">DirectoryMatch</directive>
- <directive module="core">AllowOverride</directive>
- </directivelist>
- </related>
- </section>
-
- <section id="userdir">
- <title>UserDir╖╬ ╞─└╧░µ╖╬ ┴÷┴ñ╟╧▒Γ</title>
-
- <p><directive module="mod_userdir">UserDir</directive>
- ┴÷╜├╛ε┤┬ ╗τ┐δ└┌║░ ╞Σ└╠┴÷╕ª ░í┴«┐├ ╡≡╖║┼Σ╕«╕ª ┴÷┴ñ╟╤┤┘. └╠
- ┴÷╜├╛ε└╟ ╗τ┐δ╣²└║ ┐⌐╖»░í┴÷┤┘.</p>
-
- <p>╜╜╖í╜¼╖╬ ╜├└█╟╧┴÷╛╩┤┬ ░µ╖╬╕ª ┴÷┴ñ╟╧╕Θ ░ó ╗τ┐δ└┌└╟
- ╚¿╡≡╖║┼Σ╕«┐í ╗≤┤δ└√└╬ ╡≡╖║┼Σ╕« ░µ╖╬╖╬ ├│╕«╟╤┤┘. ┐╣╕ª ╡Θ╛ε,
- ╛╞╖í ╝│┴ñ└╟ ░µ┐∞:</p>
-
- <example>
- UserDir public_html
- </example>
-
- <p>URL <code>http://example.com/~rbowen/file.html</code>└║
- ╞─└╧ ░µ╖╬ <code>/home/rbowen/public_html/file.html</code>└╗
- ╢µ╟╤┤┘.</p>
-
- <p>╜╜╖í╜¼╖╬ ╜├└█╟╧┤┬ ░µ╖╬╕ª ┴÷┴ñ╟╧╕Θ ┴÷┴ñ╟╤ ╡≡╖║┼Σ╕«┐í
- ╗τ┐δ└┌╕φ└╗ ┤⌡╟╤ ╡≡╖║┼Σ╕« ░µ╖╬╕ª ╗τ┐δ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ╛╞╖í
- ╝│┴ñ└╟ ░µ┐∞:</p>
-
- <example>
- UserDir /var/html
- </example>
-
- <p>URL <code>http://example.com/~rbowen/file.html</code>└║
- ╞─└╧ ░µ╖╬ <code>/var/html/rbowen/file.html</code>└╗ ╢µ╟╤┤┘.</p>
-
- <p>║░╟Ñ (*)╕ª ╞≈╟╘╟╤ ░µ╖╬╕ª ┴÷┴ñ╟╧╕Θ ║░╟Ñ╕ª ╗τ┐δ└┌╕φ└╕╖╬
- ┤δ├╝╟╤ ░µ╖╬╕ª ╗τ┐δ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ╛╞╖í ╝│┴ñ└╟ ░µ┐∞:</p>
-
- <example>
- UserDir /var/www/*/docs
- </example>
-
- <p>URL <code>http://example.com/~rbowen/file.html</code>└║
- ╞─└╧ ░µ╖╬ <code>/var/www/rbowen/docs/file.html</code>└╗
- ╢µ╟╤┤┘.</p>
-
- </section>
-
- <section id="enable">
- <title>▒Γ┤╔└╗ └╠┐δ╟╥ ╗τ┐δ└┌ ┴ª╟╤╟╧▒Γ</title>
-
- <p>UserDir ╣«╝¡┐í └╓┤┬ ╣«╣²└╗ ╗τ┐δ╟╧┐⌐ ╗τ┐δ└┌║░ └Ñ╡≡╖║┼Σ╕«
- ▒Γ┤╔└╗ └╠┐δ╟╥ ╝÷ └╓┤┬ ╗τ┐δ└┌╕ª ┴ª╟╤╟╥ ╝÷ └╓┤┘:</p>
-
- <example>
- UserDir enabled<br />
- UserDir disabled root jro fish
- </example>
-
- <p>└º ╝│┴ñ└║ <code>disabled</code> ╣«└σ┐í ┐¡░┼╟╤ ╗τ╢≈└╗
- ┴ª┐▄╟╧░φ ╕≡╡τ ╗τ┐δ└┌┐í░╘ └Ñ╡≡╖║┼Σ╕« ▒Γ┤╔└╗ ╟π╢⌠╟╤┤┘. ╢╟,
- ┤┘└╜░· ░░└╠ ╕ε╕ε ╗τ┐δ└┌╕ª ┴ª┐▄╟╧░φ ▒Γ┤╔└╗ ╟π╢⌠╟╧┴÷ ╛╩└╗
- ╝÷╡╡ └╓┤┘:</p>
-
- <example>
- UserDir disabled<br />
- UserDir enabled rbowen krietz
- </example>
-
- <p><directive module="mod_userdir">UserDir</directive>
- ╣«╝¡┐í └╓┤┬ ┤┘╕Ñ ┐╣╡Θ╡╡ ┬ⁿ░φ╟╧╢≤.</p>
-
- </section>
-
- <section id="cgi">
- <title>░ó ╗τ┐δ└┌║░ cgi ╡≡╖║┼Σ╕« ┴÷┴ñ╟╧▒Γ</title>
-
- <p>╗τ┐δ└┌╕╢┤┘ cgi-bin ╡≡╖║┼Σ╕«╕ª ║╬┐⌐╟╧╖┴╕Θ <directive
- module="core" type="section">Directory</directive> ┴÷╜├╛ε╕ª
- ╗τ┐δ╟╧┐⌐ ╗τ┐δ└┌ ╚¿╡≡╖║┼Σ╕«└╟ ╞»┴ñ ╟╧└º╡≡╖║┼Σ╕«╕ª cgi ░í┤╔╟╧░╘
- ╕╕╡τ┤┘.</p>
-
- <example>
- <Directory /home/*/public_html/cgi-bin/><br />
- Options ExecCGI<br />
- SetHandler cgi-script<br />
- </Directory>
- </example>
-
- <p><code>UserDir</code>└╠ <code>public_html</code>└╠╢≤░φ
- ░í┴ñ╟╧╕Θ, ┤┘└╜░· ░░└╠ ▒╫ ╛╚┐í └╓┤┬ cgi ╟┴╖╬▒╫╖Ñ
- <code>example.cgi</code>╕ª ╜╟╟α╟╥ ╝÷ └╓┤┘.</p>
-
- <example>
- http://example.com/~rbowen/cgi-bin/example.cgi
- </example>
-
- </section>
-
- <section id="htaccess">
- <title>╗τ┐δ└┌░í ╝│┴ñ└╗ ║»░µ╟╥ ╝÷ └╓╡╡╖╧ ╕╕╡Θ▒Γ</title>
-
- <p>╗τ┐δ└┌░í └┌╜┼└╟ └Ñ░°░ú┐í ┤δ╟╤ └Ñ╝¡╣÷ ╝│┴ñ└╗ ╝÷┴ñ╟╧╖┴╕Θ,
- <code>.htaccess</code> ╞─└╧└╗ ╗τ┐δ╟╥ ╝÷ └╓╛ε╛▀ ╟╤┤┘. <directive
- module="core">AllowOverride</directive>╕ª ╗τ┐δ└┌░í ╝÷┴ñ╟╥
- ╝÷ └╓┤┬ ┴÷╜├╛ε┐í └√╟╒╟╤ ░¬└╕╖╬ ╝│┴ñ╟╧╢≤. ╛ε╢╗░╘ ╡┐└█╟╧┤┬┴÷┐í
- ┤δ╟╤ └┌╝╝╟╤ ┴┤║╕┤┬ <a href="htaccess.html">.htaccess
- ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
-
- </section>
-
- </manualpage>
-